X11: Don't assume all displays are X11 displays
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Oct 2014 22:38:15 +0000 (18:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Oct 2014 23:05:09 +0000 (19:05 -0400)
commit32326f826ffacd525d62a8a11d66f017a7d8ebe2
treee1c669cd409c51deea89d8e796457af58d189fd8
parent4590501854fa41a6aba4307de8808fa956305b19
X11: Don't assume all displays are X11 displays

When iterating over the list of displays gotten from the
display manager, we have to check if what we got is actually
an X11 display.
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkmain-x11.c